/**
 * AudioUploadDTO.java
 * Creates a data transfer object for an audio file and its associated metadata.
 */
package com.example.myproject;

import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;

public class AudioUploadDTO{

	@Id 
    @PrimaryKey
    private Long id;
	@Persistent
    private Long parentId;
    @Persistent
    private String title;
    @Persistent
    private String caption;
    @Persistent
    private String contentType;
    @Persistent
    private String path;
    @Persistent
    private String artist;
    @Persistent
    private String album;
    @Persistent
    private String year;
    @Persistent
    private String genre;
    @Persistent
    private String track;
    @Persistent
    private Long thumbnailId;

	public AudioUploadDTO() {

    }
    
    public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getAlbum() {
		return album;
	}

	public void setAlbum(String album) {
		this.album = album;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getGenre() {
		return genre;
	}

	public void setGenre(String genre) {
		this.genre = genre;
	}

	public String getTrack() {
		return track;
	}

	public void setTrack(String track) {
		this.track = track;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }    

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }


    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    
	public Long getThumbnailId() {
		return thumbnailId;
	}

	public void setThumbnailId(Long thumbnailId) {
		this.thumbnailId = thumbnailId;
	}    

    /* @Override
    public String toString() {
        return "Photo [id=" + id2 + ", title=" + title + ", caption=" + caption + ", contentType=" + contentType
                + ", path=" + path + "]";
    } */

}
